//-----------------------------------------------------------------------
// <copyright file="DanhMucBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace APPro.Entities
{
	[Serializable]
	public class DanhMucBase
	{
		
		#region Variable Declarations
		private int				maDanhMuc = 0;
		private string				tenDanhMuc = string.Empty;
		private int?				thuocDanhMuc = null;
		private int?				loaiDanhMuc = null;
		#endregion
		
		#region Constructors
		public DanhMucBase() {}
		
		public DanhMucBase (
			int maDanhMuc,
			string tenDanhMuc,
			int? thuocDanhMuc,
			int? loaiDanhMuc)
		
		{
			this.maDanhMuc = maDanhMuc;
			this.tenDanhMuc = tenDanhMuc;
			this.thuocDanhMuc = thuocDanhMuc;
			this.loaiDanhMuc = loaiDanhMuc;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int MaDanhMuc
		{
			get { return maDanhMuc; }
			set { maDanhMuc = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is nvarchar</value>
		public string TenDanhMuc
		{
			get { return tenDanhMuc; }
			set { tenDanhMuc = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? ThuocDanhMuc
		{
			get { return thuocDanhMuc; }
			set { thuocDanhMuc = value; }
		}
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? LoaiDanhMuc
		{
			get { return loaiDanhMuc; }
			set { loaiDanhMuc = value; }
		}
		
		#endregion
	}//End Class
	
	public enum DanhMucColumns
	{
		MaDanhMuc,
		TenDanhMuc,
		ThuocDanhMuc,
		LoaiDanhMuc
	}//End enum
}